Skip to content

fix: expose MinIO console UI on port 9001#979

Merged
pyramation merged 1 commit intomainfrom
feat/fix-minio-console-port
Apr 14, 2026
Merged

fix: expose MinIO console UI on port 9001#979
pyramation merged 1 commit intomainfrom
feat/fix-minio-console-port

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

Fixes MinIO console UI being unreachable by pinning it to port 9001. Without --console-address, modern MinIO assigns a random dynamic port for the console, so accessing :9000 in a browser redirects to an unmapped random port (e.g., :43589).

Changes in both docker-compose.yml and pgpm docker start --minio:

  • Add --console-address ":9001" to the MinIO server command
  • Map port 9001 from the container to the host
  • Update deprecated MINIO_ACCESS_KEY/MINIO_SECRET_KEY env vars → MINIO_ROOT_USER/MINIO_ROOT_PASSWORD

Aligns with the existing constructive-hub/docker-compose.yml which already has these settings.

Review & Testing Checklist for Human

  • Verify pgpm docker start --minio creates a container with both ports 9000 and 9001 mapped and the console is accessible at http://localhost:9001
  • Confirm the MinIO API still works on port 9000 (e.g., curl http://localhost:9000/minio/health/live)

Notes

  • The docker-compose.yml still uses minio/minio (untagged latest) while CI uses minio/minio:edge-cicd — this is pre-existing and not changed here.
  • MINIO_ROOT_USER/MINIO_ROOT_PASSWORD have been the canonical env vars since MinIO RELEASE.2021-04-22. The old names still work as fallbacks in most versions but log deprecation warnings.

Link to Devin session: https://app.devin.ai/sessions/2095d9c144df4cd98da2d760016693a3
Requested by: @pyramation

- Add --console-address ':9001' to MinIO server command in both
  docker-compose.yml and pgpm docker start --minio
- Map port 9001 for the MinIO Console web UI
- Update env vars from deprecated MINIO_ACCESS_KEY/MINIO_SECRET_KEY
  to MINIO_ROOT_USER/MINIO_ROOT_PASSWORD
- Align with constructive-hub docker-compose.yml configuration

Without --console-address, MinIO assigns a random dynamic port for its
console UI, causing the redirect from :9000 to a random port like :43589.
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit 085b9a4 into main Apr 14, 2026
49 checks passed
@pyramation pyramation deleted the feat/fix-minio-console-port branch April 14, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant